﻿using System;
using System.Collections.Generic;

namespace SJ.Platform.TransferTool.DBmodels;

/// <summary>
/// 项目文档
/// </summary>
public partial class ProjectDocument
{
    /// <summary>
    /// id
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 项目ID
    /// </summary>
    public string? ProjectId { get; set; }

    /// <summary>
    /// 文件名称
    /// </summary>
    public string? FileName { get; set; }

    /// <summary>
    /// 文档类型（1=立项文档，2=需求文档，3=设计文档，4=开发文档，5=进度文档）
    /// </summary>
    public int? DocType { get; set; }

    /// <summary>
    /// 版本号
    /// </summary>
    public string? Version { get; set; }

    /// <summary>
    /// mongodb存储返回的id
    /// </summary>
    public string? ObjectId { get; set; }

    /// <summary>
    /// 是否生效
    /// </summary>
    public int? IsUsed { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public DateTime? AddTime { get; set; }

    /// <summary>
    /// 添加人ID
    /// </summary>
    public string? AddUserId { get; set; }

    /// <summary>
    /// 最后编辑时间
    /// </summary>
    public DateTime? EditTime { get; set; }

    /// <summary>
    /// 最后编辑人ID
    /// </summary>
    public string? EditUserId { get; set; }
}
